<template>
	<view class="patrolDetails_container">
		<view class="" style="height: 160rpx;">
		<view class="mail_List fixed z_ninetynine">
			<view class="mail" style="font-weight: 700;">
				<view class="order" v-if="current==1">巡查详情</view>
				<view class="order" v-if="current==2">转交工单</view>
			</view>
		</view>
		<view class="icon fixed z_ninetynine">
			<u-icon name="arrow-left" color="#fefefe" size="40" @click="navigateBack"></u-icon>
		</view>
			
		</view>
		<!-- 执行信息1 -->
		<view class="" v-for="(item,index) in members" :key='index' v-show="patrol">
			<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
						<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
							style="font-weight: 700; font-size: 30rpx;">执行信息</text>
					</view>
					<view class="card" style="position: relative; padding: 0 42rpx;">
						<u-form :model="form" ref="uForm">
							<u-form-item label="执行人:">
								<u-input v-model="form.Reporter"
									placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="item.staffName"
									:clearable="false" :disabled="true" />
							</u-form-item>
							<u-form-item label="执行状态:">
								<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="待执行"
									:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='1'" />
									<u-input v-model="form.address"
										placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="未接单"
										:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='0'" />
							</u-form-item>
			<!-- 				<u-form-item label="接单时间:">
								<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;"
									:placeholder="particulars.createTime" :clearable="false" :disabled="true" />
							</u-form-item> -->
							<image src="/static/workOrder/Group801.png" mode=""
								style=" position: absolute;top: 20rpx; left: 236rpx; width: 280rpx; height: 280rpx;" v-if="particulars.patrolStatus=='1'">
							</image>
							<image src="/static/workOrder/Group804.png" mode=""
								style=" position: absolute;top: 20rpx; left: 236rpx; width: 280rpx; height: 280rpx;" v-if="particulars.patrolStatus=='0'">
							</image>
						</u-form>
					</view>
		</view>
		<!-- 执行信息2 -->
		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">执行信息</text>
		</view>
		<view class="card" style="position: relative; padding: 0 42rpx;">
			<u-form :model="form" ref="uForm">
				<u-form-item label="执行人:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.staffName"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="执行状态:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="待接单"
						:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='0'" />
						<u-input v-model="form.address"
							placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="待执行"
							:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='1'" />
							<u-input v-model="form.address"
								placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="完成"
								:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='2'" />
								<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="超时完成"
									:clearable="false" :disabled="true" v-if="particulars.patrolStatus=='3'" />
				</u-form-item>
				<u-form-item label="接单时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;"
						:placeholder="particulars.createTime" :clearable="false" :disabled="true" />
				</u-form-item>
				<image src="/static/workOrder/Group801.png" mode=""
					style=" position: absolute;top: 60rpx; left: 236rpx; width: 280rpx; height: 280rpx;" v-if="particulars.patrolStatus=='1'">
				</image>
				<image src="/static/workOrder/Group689.png" mode=""
					style=" position: absolute;top: 60rpx; left: 236rpx; width: 280rpx; height: 280rpx;" v-if="particulars.patrolStatus=='0'">
				</image>
			</u-form>
		</view>
		<!-- 执行信息 -->
		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">执行信息</text>
		</view>
		<view class="card_two" style="position: relative; padding: 0 42rpx;" v-show="false">
			<u-form :model="form" ref="uForm">
				<u-form-item label="执行时间:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="结束时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡检内容:" :border-bottom="false">
				</u-form-item>  
				<u-form-item>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
				</u-form-item>
			</u-form>
		</view>
		<!-- 执行过程1 -->
		<view class="card_two" style="position: relative; padding: 0 42rpx;" v-show="true">
			<u-form :model="form" ref="uForm">
				<u-form-item label="执行时间:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.updateTime"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="结束时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.realTime"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查内容:" :border-bottom="false">
				</u-form-item>  
				<u-form-item>
					<view style="display: flex;justify-content: space-between; ">
						<text style="font-size: 25rpx;">{{particulars.content}}</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='0'">待接单</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='1'">待执行</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='2'">完成</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='3'">超时完成</text>
					</view>
<!-- 					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">正常</text>
					</view>
					<view style="display: flex;justify-content: space-between;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">正常</text>
					</view> -->
				</u-form-item>
			</u-form>
		</view>
		<!-- 执行过程2 -->
<!-- 		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">执行过程2</text>
		</view>
		<view class="card_two" style="position: relative; padding: 0 42rpx;">
			<u-form :model="form" ref="uForm">
				<u-form-item label="执行时间:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="结束时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡检内容:" :border-bottom="false">
				</u-form-item>  
				<u-form-item>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
				</u-form-item>
			</u-form>
		</view> -->
		<!-- 执行过程2 -->
<!-- 		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">执行过程2</text>
		</view>
		<view class="card_two" style="position: relative; padding: 0 42rpx;">
			<u-form :model="form" ref="uForm">
				<u-form-item label="执行时间:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="结束时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="-"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡检内容:" :border-bottom="false">
				</u-form-item>  
				<u-form-item>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
					<view style="display: flex;justify-content: space-between;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
						<text style="font-size: 25rpx; color: #ccc;">待执行</text>
					</view>
				</u-form-item>
			</u-form>
		</view> -->
		<!-- 巡查状态 -->
<!-- 		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">巡查状态</text>
		</view>
		<view class="card" style="padding: 0 42rpx;" v-show="false">
			<u-form :model="form" ref="uForm">
				<u-form-item label="巡查进度:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="0/3"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="当前异常:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="0处"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="解决异常:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="0处"
						:clearable="false" :disabled="true" />
				</u-form-item>
			</u-form>
		</view>
		<view class="card" style="padding: 0 42rpx;" v-show="true">
			<u-form :model="form" ref="uForm">
				<u-form-item label="巡查进度:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="1/3"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item>
					<view class="" style="display: flex; justify-content: space-between;">
						<text class="" style="margin-left: -30rpx;">当前异常:</text>
						<text>1处</text>
					</view>
					<text class="" style="color: #ccc;display: flex; justify-content: flex-end;" @click="workOrder">新建异常工单</text>
				</u-form-item>
				<u-form-item label="解决异常:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="0处"
						:clearable="false" :disabled="true" />
				</u-form-item>
			</u-form>
		</view> -->
		<!-- 巡查信息 -->
		<view class="data_Statistics" style="padding: 44rpx 24rpx 0 ;">
			<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text
				style="font-weight: 700; font-size: 30rpx;">巡查信息</text>
		</view>
		<view class="card_three" style="padding: 0 42rpx;">
			<u-form :model="form" ref="uForm">
				<u-form-item label="巡点名称:">
					<u-input v-model="form.Reporter"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.dotName"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡点类型:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.type=='1'? '项目巡查' : '空关房巡查'"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查分类:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.classify=='1'? '项目巡查' : '日常巡查'"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查方式:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" :placeholder="particulars.way=='1'? '蓝牙' : '非蓝牙'"
						:clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查频次:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;"
						:placeholder="'1日'+particulars.frequency+'次'" :clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查间隔:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;"
						:placeholder="particulars.interval+'小时'" :clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="生效时间:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;"
						:placeholder="particulars.takeTime" :clearable="false" :disabled="true" />
				</u-form-item>
				<u-form-item label="巡查要点:" :border-bottom="false"> 
				</u-form-item>  
				<u-form-item>
<!-- 					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
					</view>
					<view style="display: flex;justify-content: space-between; height: 40rpx;">
						<text style="font-size: 25rpx;">1、装修垃圾堆放是否安全</text>
					</view> -->
					<view style="display: flex;justify-content: space-between;">
						<text style="font-size: 25rpx;">{{particulars.content}}</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='0'">待接单</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='1'">待执行</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='2'">完成</text>
						<text style="font-size: 25rpx; color: #ccc;" v-if="particulars.patrolStatus=='3'">超时完成</text>
					</view>
				</u-form-item>
<!-- 				<u-form-item label="负责人:">
					<u-input v-model="form.address"
						placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="李信"
						:clearable="false" :disabled="true" />
				</u-form-item> -->
			</u-form>
		</view>
		<!-- 工单分配 -->
				<view class="order_Allocation" v-if="current==2">
					<view class="data_Statistics" style="padding: 28rpx 24rpx 0 ;">
						<text style="font-weight: 700; font-size: 30rpx; color: #c4c4c4;">丨</text><text <text
							style="font-weight: 700; font-size: 30rpx;">工单分配2</text>
					</view>
					<view class="card" style="padding: 0 42rpx;">
						<u-form :model="form" ref="uForm">
							<u-form-item label="选择负责人:">
								<u-input v-model="form.Reporter"
									placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="孙权"
									:clearable="false" :disabled="true" />
							</u-form-item>
							<u-form-item label="选择执行人:">
		<!-- 						<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;" placeholder="周瑜、陆逊"
									:clearable="false" :disabled="true" /> -->
									<u-input v-model="form.title" :custom-style="{'font-weight': '600'}" :disabled="true" :type="newList==''? 'select' : 'text'"
										:select-open="show" placeholder-style="color: #cccccc; text-align: right;"
										:placeholder="newList==''? '请选择执行人' : newList" @click="show = true" />
							</u-form-item>
		<!-- 					<u-form-item label="维保时间:">
								<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;"
									placeholder="2021-06-09 12: 23: 32" :clearable="false" :disabled="true" />
							</u-form-item>
							<u-form-item label="结束时间:">
								<u-input v-model="form.address"
									placeholder-style="color: #000; text-align: right; font-weight: 600;"
									placeholder="2021-06-09 24: 23: 32" :clearable="false" :disabled="true" />
							</u-form-item> -->
						</u-form>
						<u-select v-model="show" mode="single-column" :list="list" @confirm="confirm"></u-select>
					</view>
				</view>
		<view class="button" v-if="current==1">
			<u-button type="primary" style="flex: 1;" @click="resolved">提醒</u-button>
			<u-button type="success" style="flex: 1;" @click="Approved">转交</u-button>
		</view>
		<view class="button" v-if="current==2">
			<u-button type="primary" style="flex: 1;" @click="cancel">取消</u-button>
			<u-button type="success" style="flex: 1;" @click="determine">确定</u-button>
		</view>
		<u-popup v-model="show2" mode="center" width="626rpx" height="430rpx" border-radius="20">
			<view
				style="height: 54rpx; line-height: 54rpx; font-weight: 600; color: #a1a1a1; background-color: #fbfbfb; text-align: center;">
				工单提示</view>
			<view class="work_Order">
				<view class="work_Order_top"></view>
				<view class="work_Order_bottom" style="margin-top: 10rpx;">催促工单成功！</view>
			</view>
		</u-popup>
		<u-popup v-model="show3" mode="center" width="626rpx" height="430rpx" border-radius="20">
			<view
				style="height: 54rpx; line-height: 54rpx; font-weight: 600; color: #a1a1a1; background-color: #fbfbfb; text-align: center;">
				工单提示</view>
			<view class="work_Order">
				<view class="work_Order_top"></view>
				<view class="work_Order_bottom" style="margin-top: 10rpx;">工单发布成功</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// form表单
				form: {
					Reporter: '',
					title: '',
					address: '',
					describe: '',
					chargePerson: '',
					Executor: '',
					Maintenance: '',
					end: '',
					// 手机号码
					staffPhone:''
				},
				// 演示地址，请勿直接使用
				action: 'http://www.example.com/upload',
				current: 1,
				show: false,
				list: [{
						value: '1',
						label: '江'
					},
					{
						value: '2',
						label: '湖'
					}
				],
				show3: false,
				show2: false,
				newList: '', 
				// 待复查Id
				patrolId:'',
				// 车辆详情
				particulars:'',
				// 执行信息1的数据
				members:'',
				// 控制执行信息1的显示与隐藏
				patrol:false
			}
		},
		onLoad(val) {
			this.loginId = uni.getStorageSync("setModel")
			if(val.patrolId){
				console.log(val)
			this.patrolId=val.patrolId
				// 待接单详情
				this.getListVehicleByIds()
			}
			// this.loading()
		},
		methods: {
			// 待接单详情
			getListVehicleByIds() {
				this.$http.get('Patrol/getPatrolThreeById',{patrolId:this.patrolId}).then(res => {
					this.particulars=res.data.patrol
					let patrolMembers=res.data.patrolMembers
					if(patrolMembers.length!=0) {
						this.members= patrolMembers
						this.patrol=true
					}
					console.log(res, '待接单详情')
					// this.owners = res.data
				})
			},
			resolved() {
				this.show = true
			},
			// 点击转交按钮
			Approved() {
				// this.form.title=this.particulars.staffName
				this.current = 2
				this.$http.get('WorkOrder/getStaff',{deptId:this.loginId.deptId}).then(res => {
					console.log(res,'执行人')
					// this.particulars=res.data
					let lists = res.data
					this.list= this.changeKey (lists, ['value', 'label','staffPhone']);
				})
			},
			// 注意返回值为一个数组，单列时取数组的第一个元素即可(只有一个元素)
			confirm(e) {
				// console.log(e);
				let sign = ''
				e.forEach((item,index) => {
					this.sign =item.value
					this.form.title=item.label
						// console.log(item.label);
						// console.log(this.sign);
				   })
				this.list.forEach((item,index)=>{
					if(item.value==this.sign) {
						console.log(item.staffPhone)
						this.form.staffPhone=item.staffPhone
					}
				})
				// console.log(e-'1')
				// let abc = this.list[e-'1'].staffPhone
				// console.log(abc)
			},
			cancel() {
				this.current = 1
			},
			// 点击确定
			determine() {
				this.show2 = true
				// console.log(171)
				this.$http.put('PatrolPoint/updatePatrolPointNotPerformed',{
					phone:this.form.staffPhone,
					patrolId:this.patrolId
				}).then(res => {
					console.log(res,'工单转交')
					// this.particulars=res.data
				})
				setTimeout(function() {
					uni.navigateBack()
				}, 1000);
			},
			changeKey (lists, key) {
						            let newArr = [];
						            lists.forEach((item) => {
						                let newObj = {};
						                for (var i = 0; i < key.length; i++) {
						                newObj[key[i]] = item[Object.keys(item)[i]]
						                }
						                newArr.push(newObj);
						            })
						                return newArr;
			 },
			workOrder () {
				this.openUrl('/pagesA/workOrder/newworkOrder/newworkOrder')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.patrolDetails_container {
		.mail_List {
			overflow: hidden;
			width: 100%;
			background-color: #f2f2f2;

			.mail {
				padding: 10rpx 0;
				// margin-top: 96rpx;
				color: #999999;
				font-size: 40rpx;
				background-color: #e5e5e5;
			}

			.order {
				text-align: center;
			}
		}

		/deep/.card {
			.u-form-item--left {
				flex: unset !important;
				width: unset !important;
			}

			.frequency {
				display: flex;

				// justify-content: space-between;
				u-input {
					flex: 2;
				}
			}

			.example {
				display: flex;
				margin-left: 67rpx;
			}

			.u-form-item--right {
				margin-left: 31rpx;
			}

		}
		
		.order_Allocation {
			/deep/.card {
				u-form-item {
					.u-input {
						input {
							text-align: right!important;
						}
						
					}
				}	
			}
		}
		
		/deep/.card_two {
			.u-form-item--left {
				flex: unset !important;
				width: unset !important;
			}
			
			.frequency {
				display: flex;
			
				// justify-content: space-between;
				u-input {
					flex: 2;
				}
			}
			
			.example {
				display: flex;
				margin-left: 67rpx;
			}
			
			.u-form-item--right {
				margin-left: 31rpx;
			}
			u-form-item:nth-child(3) {
				.u-form-item {
					padding: 20rpx 0 0 0;
				}
			}
			
			u-form-item:nth-child(4) {
				.u-form-item {
					padding: 0;
				}
			
				.data-v-c9fc718e {
					// height: 80rpx;
				}
			}
		}
		
		/deep/.card_three {
			.u-form-item--left {
				flex: unset !important;
				width: unset !important;
			}
			
			.frequency {
				display: flex;
			
				// justify-content: space-between;
				u-input {
					flex: 2;
				}
			}
			
			.example {
				display: flex;
				margin-left: 67rpx;
			}
			
			.u-form-item--right {
				margin-left: 31rpx;
			}
			u-form-item:nth-child(8) {
				.u-form-item {
					padding: 20rpx 0 0 0;
				}
			}
			
			u-form-item:nth-child(9) {
				.u-form-item {
					padding: 0;
				}
			
				.data-v-c9fc718e {
					// height: 80rpx;
				}
			}
		}
		
		.icon {
			position: absolute;
			top: 18rpx;
			// top: 114rpx;
			left: 20rpx;
		}

		.second_card {
			.u-cell {
				padding: 18rpx 32rpx;

				/deep/.u-cell__value {
					color: #333333;
					font-weight: 600;
				}
			}

			/deep/.uni-card__content {
				padding: 16rpx 24rpx;
			}
		}

		/deep/button {
			border-radius: unset !important;
		}

		.uni-border[data-v-19622063]:after {
			border: unset;
		}

		/deep/.uni-border.data-v-19622063:after {
			border: unset;
		}

		.slot-btn__hover {
			background-color: rgb(235, 236, 238);
		}

		.button {
			display: flex;
			// position: fixed;
			// left: 0;
			// right: 0;
			// bottom: 0;
			margin-top: 200rpx;
			border-radius: 14rpx;
			overflow: hidden;
			z-index: 9;

			.u-btn {
				border-radius: unset;
			}
		}

		.work_Order {
			margin-top: 60rpx;
			text-align: center;

			.work_Order_top {
				width: 168rpx;
				height: 168rpx;
				margin: 0 auto;
				background-color: #e5e5e5;
				border-radius: 50%;
			}
		}
	}
</style>
